<!DOCTYPE html>

<html class="no-js">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title></title>
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />


  <script src="../cdn/vue/vue.global.min.js"></script>

  <link rel="stylesheet" href="../cdn/element-plus/index.css" />
  <script src="../cdn/element-plus/index.full.min.js"></script>
  <link rel="stylesheet" href="../../lib/index.css" />
  <script src="../../lib/avue.js"></script>
</head>

<body>
  <div id="app">
    <avue-data-box :option="option"></avue-data-box>
  </div>
</body>
<script>

  let app = Vue.createApp({
    data() {
      return {
        option: {
          span: 6,
          data: [
            {
              title: '错误日志',
              count: 12332,
              icon: 'el-icon-warning',
              color: 'rgb(49, 180, 141)',
              href: 'https://avue.top',
              target: '_blank'
            },
            {
              title: '数据展示',
              count: 33,
              icon: 'el-icon-view',
              color: 'rgb(56, 161, 242)',
              href: 'https://avue.top',
              target: '_blank'
            },
            {
              title: '权限管理',
              count: 2223,
              icon: 'el-icon-setting',
              color: 'rgb(117, 56, 199)',
              href: 'https://avue.top',
              target: '_blank'
            },
            {
              title: '权限管理',
              count: 2223,
              icon: 'el-icon-setting',
              color: 'rgb(117, 56, 199)',
              href: 'https://avue.top',
              target: '_blank'
            },
          ]
        },
      }
    },
    created() {

    },
    methods: {

    }
  })
  app.use(ElementPlus)
  app.use(AVUE)
  app.mount('#app')
</script>

</html>